package com.itfreer.arcgis.edit;

/**
 * 当前编辑工具管理类
 */
public class EditToolManager
{
    private static  DrawTool drawTool=null;
    protected static   void setCurrentTool(DrawTool drawTool)
    {
        if(EditToolManager.drawTool!=null)
            EditToolManager.drawTool.Clear();

        EditToolManager.drawTool = drawTool;
    }

    public  static  DrawTool GetCurrentTool()
    {
        return  drawTool;
    }
}
